package com.kennedy.atoupdate.web.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LoginController {

    @GetMapping("/login")
    public String toLogin() {
        return "login/login";
    }

    @GetMapping("/")
    public String toIndexIframe() {
        return "layout/index_iframe";
    }

    @GetMapping("/toWelcome")
    public String toWelcome() {
        return "welcome";
    }

}
